namespace Gameplay.RTS.ScriptConfig
{
    public class FlyTextOffset
    {
        public int type { get; set; }
        public float x { get; set; }
        public float y { get; set; }
        public float z { get; set; }
        public bool isRandom { get; set; }
        public float randomXmin { get; set; }
        public float randomXmax { get; set; }
        public float randomYmin { get; set; }
        public float randomYmax { get; set; }
        public string VertextColor { get; set; }
        public int AnimationStyle { get; set; }

        public int FontSize { get; set; }
        public string PlayAnimName { get; set; }
    }

    public class FlyTextConfig
    {
        public float ScaleSpecial { get; set; }
        public float multyNum { get; set; }
        public float ScaleNormal { get; set; }
        public float columSpace { get; set; }
        public float AnimSpeed { get; set; }
        public FlyTextOffset[] offsets { get; set; }
    }

    /// <summary>
    /// 飘字伴随音效
    /// </summary>
    public enum FlyTextAudio
    {
        NONE = -1,
        SFX_RTS_JUMPHIT_MELEE = 0,//近战兵飘字音效
        SFX_RTS_JUMPHIT_SNIPER = 1,//狙击手飘字音效
        SFX_RTS_JUMPHIT_THROWER = 2,//投掷手飘字音效
        SFX_RTS_JUMPHIT_LOCOMOTIVE = 3,//机车兵飘字音效
    }
}